<?php
	namespace Home\Model;
	use Think\Model;
	class UsersModel extends Model
	{
		protected $fields=array('uname','password','age','sex','uface','city','state','email','lv');
		protected $_auto = array (
		array('password','md5',3,'function') , // 对password字段在新增和编辑的时候使md5函数处理
		
		);
	}
